#ifndef SDLCONDMUTEX_H
#define SDLCONDMUTEX_H
#include "SDL.h"


class SDLCondMutex
{
public:
    SDLCondMutex();
    ~SDLCondMutex();
    void lock();
    void unlock();
    void signal();
    void broadcast();
    void wait();
private:
    SDL_mutex*  m_mutex;
    SDL_cond*   m_cond;
};

#endif // SDLCONDMUTEX_H
